<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<%@ page contentType="text/html;charset=UTF-8" language="java"
	pageEncoding="UTF-8"%>
<div class="wrapper-xs">
	<div class="panel panel-default">
		<div class="panel-body">
			<div id="toolbar" class="btn-group">
				<div class="navbar-form " style="margin-top: 0; padding: 0;"
					role="search">
                    <div class="input-group">
                        <input id="ip_keyWord" type="text" class="form-control" placeholder="search. e.g. *q* or q*.." name="q">
                    </div>
					<button id="btn-query" type="submit" class="btn btn-default">搜索</button>
                    <button id="btn-add" type="submit" class="btn btn-default" >新增</button>
                    <button id="btn-update" type="submit" class="btn btn-default">修改</button>
                    <button id="btn-delete" type="submit" class="btn btn-default">删除</button>
				</div>
			</div>
            <table id="table_sys" class="table table-condensed" style="font-size: 6px">
            </table>
		</div>
	</div>
</div>
<!-- Modal -->
<div class="modal fade fade-in-down" id="sys-modal" tabindex="-1"
     role="dialog" aria-labelledby="modalLabel" style="margin-top: 150px;">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title" id="modalLabel">新增</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal">
                    <div class="form-group" id="id-sys">
                        <label class="col-lg-3 control-label">id：</label>
                        <div class="col-lg-9">
                            <input id="ipt-sysId" readonly type="text" class="form-control" placeholder="请填写Id！！" style="width: 50%;float: left"/>
                            <select id="s_sys_id_type" class="selectpicker w-smxl">
                                <option value="0" selected>系统自创id</option>
                                <option value="1">手动输入id</option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-3 control-label">名称：</label>
                        <div class="col-lg-9">
                            <input id="ipt-sysName" type="text" class="form-control" placeholder="请填写名称！！"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-3 control-label">备注：</label>
                        <div class="col-lg-9">
                            <textarea id="tt-desc" class="form-control" name="" rows="" cols=""></textarea>
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button id="btn-exec" type="button" class="btn btn-default" data-dismiss="modal">提交</button>
                <button type="button" class="btn btn-primary">重置</button>
            </div>
        </div>
    </div>
</div>

<script src="${ctx}/js/${code}/${code}_${sheet}.js" type="text/javascript" charset="utf-8"></script>